package com.woniu108.product.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 积分商城表
 * </p>
 *
 * @author yanxi
 * @since 2024-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ScoreStore implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 积分商品编号
     */
    @TableId(value = "score_product_id", type = IdType.AUTO)
    private Integer scoreProductId;

    /**
     * 积分商品名称
     */
    private String scoreProductName;

    /**
     * 兑换所需积分
     */
    private BigDecimal scorePrice;

    /**
     * 商品图片
     */
    private String pPicture;

    /**
     * 商品描述
     */
    private String pDetails;

    /**
     * 积分商品库存量
     */
    private Integer scoreProductNum;
    /**
     * 积分商品状态
     */
    private Integer scoreProductState;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
